﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Configuration;

namespace DWEIP.Common
{
    public class ConfigPara
    {
        public static string EipDBConnection
        {
            get
            {
                string connection = System.Configuration.ConfigurationManager.ConnectionStrings["DBContainer"].ConnectionString;
                //string result = AESEncryptHelper.Decrypt(connection);
                string result = connection;
                return result;
            }
        }
        public static List<string> NoFilterUrl
        {
            get
            {
                string[] arr = ConfigurationManager.AppSettings["NoFilterUrl"].Split(',');
                return arr.ToList();
            }
        }

        public static string MS_HttpContext
        {
            get
            {
                return "MS_HttpContext";
            }
        }


        public static string Token
        {
            get
            {
                return "token";
            }
        }
    }
}
